package ar.edu.itba.it.paw.services;

import ar.edu.itba.it.paw.domain.User;
import ar.edu.itba.it.paw.domain.exceptions.RegisteredMailException;
import ar.edu.itba.it.paw.domain.exceptions.RegisteredUsernameException;

public interface UserServices {

	public void addUser(User user) throws RegisteredUsernameException, RegisteredMailException;
	
	public User getUser(String username);
	
	public User getUser(int user_id) ;
	
	public boolean authenticate(String username, String password);
	
	public void updateUser(User user);
}
